package com.ficus.road.maintain.core.model.zh;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xiawen yang
 * @date 2022/4/12 下午2:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BridgeStatistic {
    private Direct direct;

    private Road road;

    @Data
    public static class Road {
        private Integer total;

        private List<BridgeInfo> bridgeList;
    }

    @Data
    public static class Direct {
        private Integer total;

        private BridgeTypeStatistic bridgeTypeStatistic;

        private TechStatistic techStatistic;

        private List<BridgeInfo> bridgeList;

    }

    @Data
    public static class BridgeTypeStatistic {
        private Integer extraLarge;

        private Integer large;

        private Integer medium;

        private Integer small;

        private Integer pedestrian;
    }

    @Data
    public static class TechStatistic {
        private Integer firstType;

        private Integer secondType;

        private Integer thirdType;

        private Integer fourthType;
    }
}